<ion-view title="车辆列表">
    <ion-nav-buttons side="left">
        <button class="button back-button buttons icon ion-ios-arrow-left button-clear header-item" nav-direction="back" ui-sref="menu">返回</button>
    </ion-nav-buttons>
    <ion-nav-buttons side="right">
        <button class="button button-icon icon ion-ios-search" ui-sref="cheliangSearch"></button>
    </ion-nav-buttons>
    <ion-content >
        <ion-refresher pulling-text="下拉加载..." on-refresh="doRefresh()"></ion-refresher>

        <div ng-if="showloading" style="margin-top:60px; text-align: center">
            <ion-spinner icon="ios" style="height: 60px; width: 60px;"></ion-spinner>
        </div>
        <div class="list" ng-if="showloading == false">
            <h5 ng-if="cphList==undefined||cphList==''" style="color: #69717d;text-align: center;margin-top: 50px;">未找到数据</h5>
            <div  collection-repeat="cl in cphList" class="cydListItem" >
                <div class="ydList item"  ui-sref="zcdlist({cl_id : cl.cl_id,cph: cl.cph})">
                    <label class="item item-input" style="border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none">
                        <i class="ion ion-model-s positive" style="margin-right: 8px"></i>
                        <p>{{cl.cph}}</p>
                        <p style="margin-left: auto;margin-right: 8px;">{{cl.xl}}</p>
                    </label>
                </div>
            </div>
        </div>
        <ion-infinite-scroll on-infinite="loadMore()" distance="1%" ng-if="hasNextPage()"></ion-infinite-scroll>
    </ion-content>
</ion-view>
